home *** CD-ROM | disk | FTP | other *** search
/ Exploring Where & Why / Exploring Where & Why.iso / pc / MODULES / LESSON01 / ACT01A / common1.cst / 00054_sprite self-positioning.ls < prev    next >
Encoding:
Text File  |  2003-05-01  |  159 b   |  9 lines

  1. on beginSprite me
  2.   set spr=the spriteNum of me
  3.   set theLoc=the regPoint of the member of sprite spr
  4.   set the loc of sprite spr=2*theLoc
  5.   updateStage
  6. end
  7.  
  8.  
  9.